package cn.edu.gzu.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "video-provider",path = "/video")
public interface VideoFeign {
    @PostMapping("/info")
    List<Object> getVideoInfo(@RequestParam("id") long id);
}
